<template>
<<<<<<< HEAD
	<div>
		<Soon></Soon>
		<Icons></Icons>
		<Scroll></Scroll>
		<Xcroll></Xcroll>
		<Lunb></Lunb>
		<Ecsoll></Ecsoll>
		<Xrott></Xrott>
		<Grade></Grade>
=======
	<div class="home">
		<Soon></Soon>
		<Icons></Icons>
		<Scroll></Scroll>
		<Xcroll :proms='list'></Xcroll>
		<Lunb></Lunb>
		<Ecsoll :ecsollprops='person'></Ecsoll>
		<Xrott></Xrott>
		<Grade></Grade>
		<Fungory></Fungory>
		<Travel></Travel>
>>>>>>> dfbcefb (游侠客项目)
		<BottomNav :propsurl='arrUrl'></BottomNav>
	</div>
</template>

<script>
	
	import Soon from './pages/Soon.vue'
	
	import Icons from './pages/Icons.vue'
	
	import Scroll from './pages/Scroll.vue'
	
	import Xcroll from './pages/Xcroll.vue'
	
	 import Lunb from './pages/Lunb.vue'
	 
	 import Ecsoll from './pages/Ecsoll.vue'
	 
	 import BottomNav from '../default/BottomNav.vue'
	 
<<<<<<< HEAD
	 import Xrott from '../dalibao/Xrott.vue'
	 
	 import Grade from './pages/Grade.vue'
	 
=======
	 import Xrott from './pages/Xrott.vue'
	 
	 import Grade from './pages/Grade.vue'
	 
	 import Travel from './pages/Travel.vue'
	 
	 import Fungory from './pages/Fungory.vue'
	 
>>>>>>> dfbcefb (游侠客项目)
	export default{
		name:'Home',
		components:{
			Soon,
			Icons,
			Scroll,
			Xcroll,
			Lunb,
			Ecsoll,
			Xrott,
			BottomNav,
<<<<<<< HEAD
			Grade
=======
			Grade,
			Travel,
			Fungory
>>>>>>> dfbcefb (游侠客项目)
		},
		data(){
			return{
				arrUrl:[require("../../assets/img/shoye.png"),require("../../assets/img/dingdan.png"),require("../../assets/img/grzx.png")],
<<<<<<< HEAD
			}
		}
	}
</script>

<style>
=======
				list:[],
				person:[],
			}
		},
		created() {
			var that = this
			this.axios.get("http://localhost:8080/api/dataHome.json").then((res)=>{
				if(res.status===200){
					let data=res.data.list
					for(let i=0;i<=data.length;i++){
						let name=data[i].uname
						if(localStorage.city===name){
							that.list=data[i].person
							that.person=data[i].list
						}else{
							that.list=data[0].person
							that.person=data[0].list
						}
					}
				}
			}).catch(()=>{
				console.log()
			})
		},
	}
</script>

<style scoped>
	.home{
		width: 100%;
	}
>>>>>>> dfbcefb (游侠客项目)
</style>
